package com.jdyinfo.ic.mysql.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import com.jdyinfo.ic.mysql.entity.House;

@Mapper
public interface HouseMapper {
	
	List<House> findHouseByUnitId(@Param("unitId") int unitId);
	
	int insertOne(House house);
	
	int updateOne(House house);
	
	int deleteOne(@Param("id") int id);

}
